/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package weixin.popular.message.handler;

import weixin.popular.bean.message.EventMessage;
import weixin.popular.bean.xmlmessage.XMLMessage;
import weixin.popular.bean.xmlmessage.XMLTextMessage;

/**
 *
 * @author johns
 */
public abstract class AbstractDelayMessageHandler implements MessageHandler {

    @Override
    public XMLMessage reply(EventMessage message) {
        this.delay(message);
//        XMLMessage xmlTextMessage = new XMLTextMessage(
//                message.getFromUserName(),
//                message.getToUserName(),
//                "您的消息我们已经收到，稍后会有专业人员联系您！");
//        return xmlTextMessage;
        return null;
    }
    public abstract void delay(EventMessage message);
}
